home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94b.txt
/
000007_icon-group-sender _Fri Aug 19 10:19:34 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1995-02-09
|
866b
Received: by cheltenham.cs.arizona.edu; Fri, 19 Aug 1994 08:58:13 MST
Date: Fri, 19 Aug 94 10:19:34 CDT
From: "Richard L. Goerwitz" <goer@midway.uchicago.edu>
Message-Id: <9408191519.AA08912@midway.uchicago.edu>
To: icon-group@cs.arizona.edu
Subject: wil
Errors-To: icon-group-errors@cs.arizona.edu
Why not just use a shell script or something? You get wild
cards that way and other natural byproducts of doing things
in a Unix-like manner:
:
#! /bin/sh
#
# Simple shell script to locate Icon source and object files
#
if test .$1 = .
then
echo "`basename $0`: no filename!"
exit 2
fi
bname=`basename $1 .icn`
for i in ${IPATH:-'.'} $LPATH
do
if test -f ${i}/${bname}.u1
then
ls ${i}/${bname}.u1
exit 0
fi
if test -f ${i}/${bname}.icn
then
ls ${i}/${bname}.icn
exit 0
fi
done
exit 1